package com.gxa.modules.property.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class VisitorToAdd {
//    private Integer id;//访客id
    @ApiModelProperty(value = "房屋编号")
    private Integer houseId;

    @ApiModelProperty(value = "访客姓名")
    private String visitorName;

    @ApiModelProperty(value = "访客性别编号")
    private Integer sexId;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(required = true,example = "1997-01-01",value = "日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;

    @ApiModelProperty(value = "访问时长编号")
    private Integer durationId;

    @ApiModelProperty(value = "小区编号")
    private Integer communityId;//小区id
//    private Integer visitStateId;//访问状态

}
